<?php
// This php file defines connection to the DB details
function db_connect() {

	$database ="restarti_crm";// dataBase Name	
	$server = "localhost";     // usually localhost
	$user = "root"; // username 	
	$password ="";// password
	
	$link = mysql_connect($server,$user,$password) or die(mysql_error());
	if(!$link) {
		echo "Error";
	} else {
		mysql_select_db($database,$link);
		mysql_query("set names 'UTF8'");
	}
}

?>